package com.linxz.libcommonshell;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;

import com.linxz.utils.StringUtils;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        String email="497490337@qq.com";
        if (StringUtils.isEmailAddValid(email)){
           TextView tvEmail=findViewById(R.id.tvEmail);
           tvEmail.setText(email);
        }
    }
}
